package com.financial.service.heemoney.dto.param;

import com.financial.service.heemoney.dto.commmon.HeemoneyPayQueryCommonDTO;
import com.financial.service.heemoney.dto.businsess.HeemoneyPayQueryBusinessDTO;

/**
 * @api {post}
 * @apiExample author zhaopengjun
 * tar
 * date   2019/12/3 23:22
 * @apiGroup
 * @apiVersion 1.0.0
 * @apiHeader
 * @apiParam
 * @apiSuccess
 */
public class HeemoneyPayQueryParamDTO extends BaseHeemoneyParamDTO<HeemoneyPayQueryCommonDTO, HeemoneyPayQueryBusinessDTO> {
    /**
     *公共参数
     */
    private HeemoneyPayQueryCommonDTO heemoneyPayQueryCommonDTO;
    /**
     *业务参数
     */
    private HeemoneyPayQueryBusinessDTO heemoneyPayQueryBusinessDTO;

    public HeemoneyPayQueryParamDTO(HeemoneyPayQueryCommonDTO heemoneyPayqueryCommonDTO, HeemoneyPayQueryBusinessDTO heemoneyPayqueryBusinessDTO) {
        super(heemoneyPayqueryCommonDTO, heemoneyPayqueryBusinessDTO);
        this.heemoneyPayQueryCommonDTO = heemoneyPayqueryCommonDTO;
        this.heemoneyPayQueryBusinessDTO = heemoneyPayqueryBusinessDTO;
    }

    @Override
    protected String getSignStr() {
        return heemoneyPayQueryCommonDTO.signStr();
    }

    @Override
    protected HeemoneyPayQueryBusinessDTO getBusinessDTO() {
        return heemoneyPayQueryBusinessDTO;
    }

    @Override
    protected HeemoneyPayQueryCommonDTO getCommonDTO() {
        return heemoneyPayQueryCommonDTO;
    }
}
